package com.infore.common.request.query;

import com.infore.common.fw.CriterionRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class QuerySqlRequest extends CriterionRequest {

    @ApiModelProperty(value = "SQL编码",required = true)
    private String sqlCode;

    @ApiModelProperty(value = "参数值,json格式{\"start\":\"2022-11-01\",\"end\":\"2022-11-31\"}")
    private String jsonParam;

    @ApiModelProperty(value = "是否分页，1:分页，0：分页")
    private int needPage;

    @ApiModelProperty(value = "返回数据格式,饼图_PIE，折线图_LINE，地图_MAP，列表_TABLE",required = true)
    private String dataFormat;
}
